-- GENERATED SPELL FOR [Molok the Crusher] --


function spell0_2604(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2604', 2296, 1)
end

function Sorts_2604(pUnit, Event)
local choix_sorts_2604 = math.random(0, 0)
if choix_sorts_2604 == 0 then
pUnit:RegisterEvent('spell0_2604', 1, 1)
end
end

function mob2604_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2604', math.random(1500, 3000), 1)
end

function mob2604_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2604_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2604_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2604, 1, 'mob2604_Action')
RegisterUnitEvent(2604, 2, 'mob2604_Leave')
RegisterUnitEvent(2604, 3, 'mob2604_Kill')
RegisterUnitEvent(2604, 4, 'mob2604_Die')
